
package com.yungu.swift.system.marketing.dao;


import com.yungu.swift.base.mapper.IMapper;
import com.yungu.swift.system.marketing.model.dto.MarketingChannelStatisticsDto;
import com.yungu.swift.system.marketing.model.vo.MarketingChannelStatisticsExportVo;

import java.util.List;
import java.util.Map;

/**
 * MarketingCouponMapper数据库操作接口类
 **/

public interface MarketingChannelStatisticsMapper extends IMapper<MarketingChannelStatisticsDto> {
    /**
     * 批量插入
     *
     * @param list List
     * @return int
     */
    int addBatch(List list);

    /**
     * 营销渠道统计
     *
     * @return int
     */
    int statisticsChannelPerson();

    /***
     * 渠道人数统计导出
     *
     * @param params Map
     * @return List<MarketingChannelStatisticsExportVo>
     */
    List<MarketingChannelStatisticsExportVo> listExport(Map<String, Object> params);
}